home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global PNM, J, CHN, C_EXPR, C_KTKM, EXCF_S, CURR_S, PSND, MAXPSNDS, PC_ADR, PC_MESS, GameFileName
- set the colorDepth to 8
- if the colorDepth < 8 then
- alert("This program requires 256 colors!")
- quit()
- end if
- BP_Preferences()
- set EXCF_S to list()
- set CURR_S to list()
- set the floatPrecision to 2
- set the centerStage to 1
- set fixStageSize to 1
- set the timeoutKeyDown to 0
- set the timeoutMouse to 0
- set the timeoutPlay to 0
- if the multiSound then
- set CHN to 2
- else
- set CHN to 1
- end if
- set PSND to "SIL_PAUS.AIF"
- set J to 0
- set J to birth(script "J - The Question Handler Object")
- EXC_Init()
- QN_A_Init()
- set MAXPSNDS to 30
- set C_EXPR to 20
- set C_KTKM to 70
- set GameFileName to EMPTY
- set PC_ADR to EMPTY
- set PC_MESS to EMPTY
- preLoadCast("CP-knapp 1.2 guldgul")
- preLoadCast("CP-knapp 1.2 blå")
- preLoadCast("Klick")
- preLoad(label("loop"))
- end
-